package org.csu.gp_store.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@TableName("orders")
public class Orders {
    @TableId(value = "orderID",type = IdType.ASSIGN_ID)
    private Long orderID;
    @TableField("accountID")
    private Long accountID;
    @TableField("bill_address")
    private String billAddress;
    @TableField("bill_name")
    private String billName;
    @TableField("bill_phone")
    private String billPhone;
    @TableField("bill_notes")
    private String billNotes;
    @TableField("total_amount")
    private BigDecimal totalAmount;
    private int status;
    private Timestamp addTime;

}
